package parttern.observer;

public class ObservableImpl extends AbsObservable {
    @Override
    public void doSomething() {
        System.out.println("被观察者干了一件事情");
        //完事后通知观察者
        notifyObserver();
    }
}
